﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

namespace DataIntegrityChecker
{
    static class GlobalSettings
    {
        private static string inputFile;
        private static string outputFile;
        private static double cutoff = 0.95;
        private static bool firstRowHeaders = true;
        private static string language;

        public static string InputFile
        {
            get { return GlobalSettings.inputFile; }
            set { GlobalSettings.inputFile = value; }
        }
        public static string OutputFile
        {
            get { return GlobalSettings.outputFile; }
            set { GlobalSettings.outputFile = value; }
        }
        public static double Cutoff
        {
            get { return Properties.Settings.Default.CutOff; }
            set { Properties.Settings.Default.CutOff = value; Properties.Settings.Default.Save(); }
        }
        public static bool FirstRowHeaders
        {
            get { return Properties.Settings.Default.FirstRowHeaders; }
            set { Properties.Settings.Default.FirstRowHeaders = value; Properties.Settings.Default.Save(); }
        }

        public static string Language
        {
            get { return Properties.Settings.Default.Language; }
            set { Properties.Settings.Default.Language = value; Properties.Settings.Default.Save(); ; }
        }
    }
}
